import { CustRequest } from "./cust_request";
const http = CustRequest
/**
 * 我的文章列表
 */
export function article_my_list(params, loading = true) {
  console.log(params, loading);
  return http.post('article/my/list', params, loading)
}

/**
 * 区县列表by市名
 */
export function v05_const_region_areaListByName(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/area-list-by-name', params, loading)
}

/**
 * app和小程序手机号注册登陆
 */
export function v05_login_loginRegisterMobile(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/login/login-register-mobile', params, loading)
}

/**
 * 可使用积分兑换权益的列表
 */
export function v05_point_redeem_list(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/point/redeem/list', params, loading)
}

/**
 * 关注用户信息
 */
export function index_userFocus_check(params, loading = true) {
  console.log(params, loading);
  return http.get('index/user-focus/check', params, loading)
}

/**
 * 添加地址信息
 */
export function address_add(params, loading = true) {
  console.log(params, loading);
  return http.post('address/add', params, loading)
}

/**
 * 添加用户
 */
export function v05_user_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user/add', params, loading)
}

/**
 * app注册
 */
export function wx_appRegister(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/app-register', params, loading)
}

/**
 * 发布商品
 */
export function post_product_add(params, loading = true) {
  console.log(params, loading);
  return http.post('post/product/add', params, loading)
}

/**
 * 编辑店铺
 */
export function service_edit(params, loading = true) {
  console.log(params, loading);
  return http.post('service/edit', params, loading)
}

/**
 * 获取IM用户ID及密钥
 */
export function tencentIm_genUserSig(params, loading = true) {
  console.log(params, loading);
  return http.get('tencent-im/gen-user-sig', params, loading)
}

/**
 * 删除商品
 */
export function post_product_my_del(params, loading = true) {
  console.log(params, loading);
  return http.get('post/product/my/del', params, loading)
}

/**
 * 小程序解密授权数据接口
 */
export function wx_getuserinfo(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/getUserInfo', params, loading)
}

/**
 * 帖子点赞
 */
export function metric_post_like(params, loading = true) {
  console.log(params, loading);
  return http.get('metric/post/like', params, loading)
}

/**
 * 小程序消息通知
 */
export function v05_usernotify_mpNotify(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/usernotify/mp-notify', params, loading)
}

/**
 * 获得cos密钥
 */
export function tencentCos_getSecret(params, loading = true) {
  console.log(params, loading);
  return http.get('tencent-cos/get-secret', params, loading)
}

/**
 * 城市列表
 */
export function v05_const_region_cityList(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/city-list', params, loading)
}

/**
 * 微信小程序使用微信登录1.0，自动创建用户
 */
export function v05_login_mp_loginWechatAuto(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/login/mp/login-wechat-auto', params, loading)
}

/**
 * 我的收藏
 */
export function article_my_collect(params, loading = true) {
  console.log(params, loading);
  return http.get('article/my/collect', params, loading)
}

/**
 * 所有帖子列表
 */
export function post_allList(params, loading = true) {
  console.log(params, loading);
  return http.post('post/all-list', params, loading)
}

/**
 * 发帖审批
 */
export function post_audit(params, loading = true) {
  console.log(params, loading);
  return http.get('post/audit', params, loading)
}

/**
 * 文章列表
 */
export function article_list(params, loading = true) {
  console.log(params, loading);
  return http.post('article/list', params, loading)
}

/**
 * 查询用户
 */
export function v05_user_query(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user/query', params, loading)
}

/**
 * 从磁盘加载文章内容到数据库
 */
export function article_loadDisk(params, loading = true) {
  console.log(params, loading);
  return http.get('article/load-disk', params, loading)
}

/**
 * 获得cos直传参数信息
 */
export function tencentCos_uploadImage(params, loading = true) {
  console.log(params, loading);
  return http.post('tencent-cos/upload-image', params, loading)
}

/**
 * 我的服务商删除操作
 */
export function service_my_del(params, loading = true) {
  console.log(params, loading);
  return http.get('service/my/del', params, loading)
}

/**
 * 注册服务商
 */
export function service_add(params, loading = true) {
  console.log(params, loading);
  return http.post('service/add', params, loading)
}

/**
 * 区县列表by市名
 */
export function v05_const_region_areaStreetListByName(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/area-street-list-by-name', params, loading)
}

/**
 * 根据具体地址添加地址
 */
export function address_addByAddress(params, loading = true) {
  console.log(params, loading);
  return http.post('address/add-by-address', params, loading)
}

/**
 * 发布文章
 */
export function article_add(params, loading = true) {
  console.log(params, loading);
  return http.post('article/add', params, loading)
}

/**
 * 服务商评论添加
 */
export function comment_service_add(params, loading = true) {
  console.log(params, loading);
  return http.post('comment/service/add', params, loading)
}

/**
 * 服务商审批
 */
export function service_audit(params, loading = true) {
  console.log(params, loading);
  return http.get('service/audit', params, loading)
}

/**
 * 删除发布地址
 */
export function addressPub_del(params, loading = true) {
  console.log(params, loading);
  return http.get('address-pub/del', params, loading)
}

/**
 * 通用评论列表
 */
export function comment_list(params, loading = true) {
  console.log(params, loading);
  return http.post('comment/list', params, loading)
}

/**
 * 用户关注列表
 */
export function index_userFocus_list(params, loading = true) {
  console.log(params, loading);
  return http.get('index/user-focus/list', params, loading)
}

/**
 * 帖子列表
 */
export function v05_post_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/post/list', params, loading)
}

/**
 * 菜单列表
 */
export function index_menus(params, loading = true) {
  console.log(params, loading);
  return http.post('index/menus', params, loading)
}

/**
 * 发送验证码
 */
export function sms_sendCode(params, loading = true) {
  console.log(params, loading);
  return http.get('sms/send-code', params, loading)
}

/**
 * 根据具体地址添加地址
 */
export function address_addByLat2lng(params, loading = true) {
  console.log(params, loading);
  return http.post('address/add-by-lat2lng', params, loading)
}

/**
 * 编辑留言
 */
export function v05_comment_edit(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/comment/edit', params, loading)
}

/**
 * 服务商收藏
 */
export function metric_service_collect(params, loading = true) {
  console.log(params, loading);
  return http.get('metric/service/collect', params, loading)
}

/**
 * 商品列表
 */
export function post_product_list(params, loading = true) {
  console.log(params, loading);
  return http.post('post/product/list', params, loading)
}

/**
 * 查询用户的收藏
 */
export function index_userCollect_list(params, loading = true) {
  console.log(params, loading);
  return http.get('index/user-collect/list', params, loading)
}

/**
 * 编辑用户
 */
export function v05_user_edit(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user/edit', params, loading)
}

/**
 * 服务商评论列表
 */
export function comment_service_list(params, loading = true) {
  console.log(params, loading);
  return http.post('comment/service/list', params, loading)
}

/**
 * 添加留言
 */
export function v05_comment_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/comment/add', params, loading)
}

/**
 * 店主认证查询
 */
export function v05_user_service_query(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user/service/query', params, loading)
}

/**
 * 设置用的指标
 */
export function v05_metricrecord_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/metricrecord/add', params, loading)
}

/**
 * 删除文章
 */
export function article_my_del(params, loading = true) {
  console.log(params, loading);
  return http.get('article/my/del', params, loading)
}

/**
 * 服务商指标更新接口
 */
export function metric_service_update(params, loading = true) {
  console.log(params, loading);
  return http.get('metric/service/update', params, loading)
}

/**
 * 获得cos直传参数信息
 */
export function tencentCos_getDirectSecret(params, loading = true) {
  console.log(params, loading);
  return http.get('tencent-cos/get-direct-secret', params, loading)
}

/**
 * 最新地址信息
 */
export function address_latest(params, loading = true) {
  console.log(params, loading);
  return http.get('address/latest', params, loading)
}

/**
 * 增长任务列表
 */
export function v05_userGrowTask_list(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/user-grow-task/list', params, loading)
}

/**
 * 我的服务商列表
 */
export function service_my_list(params, loading = true) {
  console.log(params, loading);
  return http.get('service/my/list', params, loading)
}

/**
 * 街道/镇列表V2
 */
export function v05_const_region_allCity(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/all-city', params, loading)
}

/**
 * 添加发帖
 */
export function v05_post_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/post/add', params, loading)
}

/**
 * 我的收藏
 */
export function post_my_collect(params, loading = true) {
  console.log(params, loading);
  return http.post('post/my/collect', params, loading)
}

/**
 * 获得cos直传参数信息
 */
export function v05_tencentCos_getDirectSecret(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/tencent-cos/get-direct-secret', params, loading)
}

/**
 * 区县列表by市名
 */
export function const_region_areaListByName(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/area-list-by-name', params, loading)
}

/**
 * 街道/镇列表
 */
export function const_region_allList(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/all-list', params, loading)
}

/**
 * 查询所有服务商
 */
export function service_audit_allList(params, loading = true) {
  console.log(params, loading);
  return http.post('service/audit/all-list', params, loading)
}

/**
 * 留言列表
 */
export function v05_comment_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/comment/list', params, loading)
}

/**
 * 街道/镇列表
 */
export function v05_const_region_allList(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/all-list', params, loading)
}

/**
 * app微信登录
 */
export function v05_login_app_loginWechat(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/login/app/login-wechat', params, loading)
}

/**
 * 省份列表
 */
export function const_region_provinceList(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/province-list', params, loading)
}

/**
 * 发送验证码
 */
export function v05_sms_sendCode(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/sms/send-code', params, loading)
}

/**
 * 获取账户的未读消息
 */
export function tencentIm_getunreadmsgnum(params, loading = true) {
  console.log(params, loading);
  return http.get('tencent-im/getUnReadMsgNum', params, loading)
}

/**
 * 区县列表by市名
 */
export function const_region_areaStreetListByName(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/area-street-list-by-name', params, loading)
}

/**
 * 小程序登录
 */
export function index_getappuserinfo(params, loading = true) {
  console.log(params, loading);
  return http.post('index/getAppUserInfo', params, loading)
}

/**
 * 帖子列表
 */
export function post_list(params, loading = true) {
  console.log(params, loading);
  return http.post('post/list', params, loading)
}

/**
 * 添加用户通知
 */
export function v05_usernotify_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/usernotify/add', params, loading)
}

/**
 * 查询系统指标
 */
export function metric_system_map(params, loading = true) {
  console.log(params, loading);
  return http.get('metric/system/map', params, loading)
}

/**
 * 小程序登录
 */
export function wx_login(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/login', params, loading)
}

/**
 * app微信初次登录绑定手机号
 */
export function wx_v2_appLoginWechatConfirm(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/v2/app-login-wechat-confirm', params, loading)
}

/**
 * 公告列表
 */
export function v05_postTransCase_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/post-trans-case/list', params, loading)
}

/**
 * 是否有敏感词
 */
export function v05_sensitive_has(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/sensitive/has', params, loading)
}

/**
 * IM导入多个账号
 */
export function tencentIm_multiAccountImport(params, loading = true) {
  console.log(params, loading);
  return http.post('tencent-im/multi-account-import', params, loading)
}

/**
 * 新注册的服务商列表
 */
export function service_list_latest(params, loading = true) {
  console.log(params, loading);
  return http.post('service/list/latest', params, loading)
}

/**
 * 获得默认地址
 */
export function addressPub_getDefault(params, loading = true) {
  console.log(params, loading);
  return http.get('address-pub/get-default', params, loading)
}

/**
 * 帖子收藏
 */
export function metric_post_collect(params, loading = true) {
  console.log(params, loading);
  return http.get('metric/post/collect', params, loading)
}

/**
 * 营商求助列表
 */
export function v05_userBizHelp_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user-biz-help/list', params, loading)
}

/**
 * 兑换积分操作
 */
export function v05_point_redeem_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/point/redeem/add', params, loading)
}

/**
 * 所有标签json
 */
export function v05_label_json(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/label/json', params, loading)
}

/**
 * 服务商点赞
 */
export function metric_service_like(params, loading = true) {
  console.log(params, loading);
  return http.get('metric/service/like', params, loading)
}

/**
 * 编辑发布地址
 */
export function addressPub_edit(params, loading = true) {
  console.log(params, loading);
  return http.post('address-pub/edit', params, loading)
}

/**
 * 发布帖子
 */
export function post_add(params, loading = true) {
  console.log(params, loading);
  return http.post('post/add', params, loading)
}

/**
 * 添加营商求助反馈
 */
export function v05_userBizHelp_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user-biz-help/add', params, loading)
}

/**
 * 关键字数据
 */
export function search_keywords(params, loading = true) {
  console.log(params, loading);
  return http.get('search/keywords', params, loading)
}

/**
 * 街道/镇列表
 */
export function v05_const_region_streetList(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/street-list', params, loading)
}

/**
 * 设置默认地址
 */
export function addressPub_setDefault(params, loading = true) {
  console.log(params, loading);
  return http.get('address-pub/set-default', params, loading)
}

/**
 * 服务商审批权限判断
 */
export function service_auditJudge(params, loading = true) {
  console.log(params, loading);
  return http.get('service/audit-judge', params, loading)
}

/**
 * 服务商待审批列表
 */
export function service_audit_list(params, loading = true) {
  console.log(params, loading);
  return http.post('service/audit/list', params, loading)
}

/**
 * app手机号登录
 */
export function wx_appLoginRegisterMobile(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/app-login-register-mobile', params, loading)
}

/**
 * 微信小程序使用微信登录
 */
export function v05_login_mp_loginWechat(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/login/mp/login-wechat', params, loading)
}

/**
 * 根据条件查询服务商列表
 */
export function service_list_searchByParam(params, loading = true) {
  console.log(params, loading);
  return http.post('service/list/search-by-param', params, loading)
}

/**
 * 评论添加
 */
export function comment_add(params, loading = true) {
  console.log(params, loading);
  return http.post('comment/add', params, loading)
}

/**
 * 街道/镇列表
 */
export function const_region_allCity(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/all-city', params, loading)
}

/**
 * 访问图片流
 */
export function file_del(params, loading = true) {
  console.log(params, loading);
  return http.post('file/del', params, loading)
}

/**
 * 查询用户积分变动记录，包括兑换消费，做任务得积分等
 */
export function v05_point_record_list(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/point/record/list', params, loading)
}

/**
 * 区县街道列表
 */
export function v05_const_region_areaStreetList(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/area-street-list', params, loading)
}

/**
 * 关注动作
 */
export function index_userFocus_add(params, loading = true) {
  console.log(params, loading);
  return http.get('index/user-focus/add', params, loading)
}

/**
 * 小程序登录
 */
export function wx_saveUserInfo(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/save-user-info', params, loading)
}

/**
 * 城市列表
 */
export function const_region_cityList(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/city-list', params, loading)
}

/**
 * 添加发布地址信息
 */
export function addressPub_add(params, loading = true) {
  console.log(params, loading);
  return http.post('address-pub/add', params, loading)
}

/**
 * 区县列表
 */
export function const_region_areaList(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/area-list', params, loading)
}

/**
 * 添加用户足迹
 */
export function v05_footprints_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/footprints/add', params, loading)
}

/**
 * 获得cos密钥
 */
export function v05_tencentCos_getSecret(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/tencent-cos/get-secret', params, loading)
}

/**
 * app手机号登录
 */
export function wx_appLoginMobile(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/app-login-mobile', params, loading)
}

/**
 * 服务商更新星级
 */
export function service_update_stars(params, loading = true) {
  console.log(params, loading);
  return http.get('service/update/stars', params, loading)
}

/**
 * 商品详情
 */
export function post_product_detail(params, loading = true) {
  console.log(params, loading);
  return http.post('post/product/detail', params, loading)
}

/**
 * 省份列表
 */
export function v05_const_region_provinceList(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/province-list', params, loading)
}

/**
 * 街道/镇列表
 */
export function const_region_streetList(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/street-list', params, loading)
}

/**
 * 字典列表
 */
export function const_dictionary_list(params, loading = true) {
  console.log(params, loading);
  return http.get('const/dictionary/list', params, loading)
}

/**
 * 系统公告接口
 */
export function notice_list(params, loading = true) {
  console.log(params, loading);
  return http.get('notice/list', params, loading)
}

/**
 * 删除帖子
 */
export function post_my_del(params, loading = true) {
  console.log(params, loading);
  return http.get('post/my/del', params, loading)
}

/**
 * 区县街道列表
 */
export function const_region_areaStreetList(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/area-street-list', params, loading)
}

/**
 * 搜索地区V2
 */
export function v05_const_region_searchArea(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/search-area', params, loading)
}

/**
 * 地址列表
 */
export function address_list(params, loading = true) {
  console.log(params, loading);
  return http.get('address/list', params, loading)
}

/**
 * 用户给服务商打星
 */
export function metric_service_stars(params, loading = true) {
  console.log(params, loading);
  return http.get('metric/service/stars', params, loading)
}

/**
 * 用户可用权限列表
 */
export function v05_userRights_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user-rights/list', params, loading)
}

/**
 * 小程序微信初次登录绑定手机号
 */
export function v05_login_mp_loginWechatConfirm(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/login/mp/login-wechat-confirm', params, loading)
}

/**
 * 删除留言
 */
export function v05_comment_del(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/comment/del', params, loading)
}

/**
 * 我的足迹
 */
export function v05_footprints_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/footprints/list', params, loading)
}

/**
 * 公告列表
 */
export function v05_notice_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/notice/list', params, loading)
}

/**
 * 按人气排序的服务商列表
 */
export function service_list_popularity(params, loading = true) {
  console.log(params, loading);
  return http.post('service/list/popularity', params, loading)
}

/**
 * 文章详情
 */
export function article_detail(params, loading = true) {
  console.log(params, loading);
  return http.post('article/detail', params, loading)
}

/**
 * 服务商列表
 */
export function service_list(params, loading = true) {
  console.log(params, loading);
  return http.post('service/list', params, loading)
}

/**
 * 删除帖子
 */
export function v05_post_my_del(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/post/my/del', params, loading)
}

/**
 * app保存设备信息
 */
export function wx_deviceLogin(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/device-login', params, loading)
}

/**
 * 小程序刷新unionid
 */
export function wx_refreshunionid(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/refreshUnionid', params, loading)
}

/**
 * 解析拼音
 */
export function const_region_parsePinyin(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/parse-pinyin', params, loading)
}

/**
 * 加火标志
 */
export function v05_userRights_postFire(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user-rights/post-fire', params, loading)
}

/**
 * 帖子指标更新接口
 */
export function metric_post_update(params, loading = true) {
  console.log(params, loading);
  return http.get('metric/post/update', params, loading)
}

/**
 * 更新用户信息
 */
export function index_updateuserinfo(params, loading = true) {
  console.log(params, loading);
  return http.post('index/updateUserInfo', params, loading)
}

/**
 * app注销
 */
export function index_app_logout(params, loading = true) {
  console.log(params, loading);
  return http.post('index/app/logout', params, loading)
}

/**
 * 码值列表
 */
export function v05_const_code_list(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/code/list', params, loading)
}

/**
 * 搜索地区
 */
export function const_region_searchArea(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/search-area', params, loading)
}

/**
 * 区县列表
 */
export function v05_const_region_areaList(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/area-list', params, loading)
}

/**
 * 获得cos直传参数信息
 */
export function v05_tencentCos_uploadImage(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/tencent-cos/upload-image', params, loading)
}

/**
 * 我的收藏
 */
export function post_my_like(params, loading = true) {
  console.log(params, loading);
  return http.post('post/my/like', params, loading)
}

/**
 * 菜单列表
 */
export function const_menu_list(params, loading = true) {
  console.log(params, loading);
  return http.get('const/menu/list', params, loading)
}

/**
 * app微信初次登录绑定手机号
 */
export function v05_login_app_loginWechatConfirm(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/login/app/login-wechat-confirm', params, loading)
}

/**
 * 删除帖子评论
 */
export function comment_post_del(params, loading = true) {
  console.log(params, loading);
  return http.post('comment/post/del', params, loading)
}

/**
 * 编辑帖子
 */
export function v05_post_edit(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/post/edit', params, loading)
}

/**
 * 编辑文章
 */
export function article_edit(params, loading = true) {
  console.log(params, loading);
  return http.post('article/edit', params, loading)
}

/**
 * 小程序接收客服消息
 */
export function custMsg_receive(params, loading = true) {
  console.log(params, loading);
  return http.post('cust-msg/receive', params, loading)
}

/**
 * app微信登录V2
 */
export function wx_v2_appLoginWechat(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/v2/app-login-wechat', params, loading)
}

/**
 * 我的商品列表
 */
export function post_product_my_list(params, loading = true) {
  console.log(params, loading);
  return http.post('post/product/my/list', params, loading)
}

/**
 * 解析拼音
 */
export function v05_const_region_parsePinyin(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/const/region/parse-pinyin', params, loading)
}

/**
 * 小城获取im用户信息
 */
export function wx_getimuserinfo(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/getImUserInfo', params, loading)
}

/**
 * app微信登录
 */
export function wx_appLogin(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/app-login', params, loading)
}

/**
 * 上传二进制文件
 */
export function file_upload_binary(params, loading = true) {
  console.log(params, loading);
  return http.post('file/upload/binary', params, loading)
}

/**
 * 街道/镇列表V2
 */
export function const_region_allCityV2(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/all-city-v2', params, loading)
}

/**
 * 编辑添加营商求助
 */
export function v05_userBizHelp_edit(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user-biz-help/edit', params, loading)
}

/**
 * app保存设备信息
 */
export function wx_saveDeviceInfo(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/save-device-info', params, loading)
}

/**
 * 帖子评论列表
 */
export function comment_post_list(params, loading = true) {
  console.log(params, loading);
  return http.post('comment/post/list', params, loading)
}

/**
 * 发帖详情
 */
export function v05_post_detail(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/post/detail', params, loading)
}

/**
 * 发布地址列表
 */
export function addressPub_list(params, loading = true) {
  console.log(params, loading);
  return http.get('address-pub/list', params, loading)
}

/**
 * 商品品类
 */
export function const_product_category(params, loading = true) {
  console.log(params, loading);
  return http.get('const/product/category', params, loading)
}

/**
 * 服务商详情
 */
export function service_detail(params, loading = true) {
  console.log(params, loading);
  return http.post('service/detail', params, loading)
}

/**
 * 前端dict.js常量代码生成
 */
export function v05_label_dictJs(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/label/dict-js', params, loading)
}

/**
 * 帖子详情
 */
export function post_detail(params, loading = true) {
  console.log(params, loading);
  return http.post('post/detail', params, loading)
}

/**
 * 用户通知列表
 */
export function v05_usernotify_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/usernotify/list', params, loading)
}

/**
 * 码值列表
 */
export function const_code_list(params, loading = true) {
  console.log(params, loading);
  return http.get('const/code/list', params, loading)
}

/**
 * 曝光发帖
 */
export function v05_userRights_postExposure(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user-rights/post-exposure', params, loading)
}

/**
 * 上传普通图片文件
 */
export function file_upload_img(params, loading = true) {
  console.log(params, loading);
  return http.post('file/upload/img', params, loading)
}

/**
 * 微信小程序使用微信登录
 */
export function wx_v2_login(params, loading = true) {
  console.log(params, loading);
  return http.post('wx/v2/login', params, loading)
}

/**
 * 我的帖子列表
 */
export function post_my_list(params, loading = true) {
  console.log(params, loading);
  return http.post('post/my/list', params, loading)
}

/**
 * 发帖审批
 */
export function article_audit(params, loading = true) {
  console.log(params, loading);
  return http.get('article/audit', params, loading)
}

/**
 * 店主认证
 */
export function v05_user_service_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user/service/add', params, loading)
}

/**
 * 编辑帖子
 */
export function post_edit(params, loading = true) {
  console.log(params, loading);
  return http.post('post/edit', params, loading)
}

/**
 * 搜索地区V2
 */
export function const_region_searchAreaV2(params, loading = true) {
  console.log(params, loading);
  return http.get('const/region/search-area-v2', params, loading)
}

/**
 * 附近的服务商列表
 */
export function service_list_nearby(params, loading = true) {
  console.log(params, loading);
  return http.post('service/list/nearby', params, loading)
}

/**
 * 我的收藏
 */
export function service_my_collect(params, loading = true) {
  console.log(params, loading);
  return http.post('service/my/collect', params, loading)
}

/**
 * 未读留言列表
 */
export function v05_comment_unread_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/comment/unread/list', params, loading)
}

/**
 * 删除未读留言
 */
export function v05_comment_unread_remove(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/comment/unread/remove', params, loading)
}

/**
 * 查询用户的所有消息，时间降序
 */
export function v05_comment_listMessage(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/comment/list-message', params, loading)
}

/**
 * 发帖审核接口
 */
export function v05_post_audit(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/post/audit', params, loading)
}

/**
 * 我的曝光
 */
export function v05_footprints_listofexposure(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/footprints/listOfExposure', params, loading)
}

/**
 * 根据用户id和通知类型清空通知
 */
export function v05_usernotify_remove(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/usernotify/remove', params, loading)
}

/**
 * 发帖的审核记录
 */
export function v05_post_list_his(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/post/list/his', params, loading)
}

/**
 * 随机查询一个平台用户
 */
export function v05_user_fakeGetrandomuser(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/user/fake-getRandomUser', params, loading)
}

/**
 * 删除cos中图片
 */
export function v05_tencentCos_delImage(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/tencent-cos/del-image', params, loading)
}

/**
 * 设置为交易案例
 */
export function v05_post_setTransCase(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/post/set-trans-case', params, loading)
}

/**
 * 交易案例详情
 */
export function v05_postTransCase_detail(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/post-trans-case/detail', params, loading)
}

/**
 * 用户列表
 */
export function v05_user_list(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user/list', params, loading)
}

/**
 * 用户留言列表
 */
export function v05_user_commentList(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/user/comment-list', params, loading)
}

/**
 * 添加埋点
 */
export function v05_track_add(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/track/add', params, loading)
}

/**
 * 导入发帖的im账号
 */
export function v05_post_importImAccount(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/post/import-im-account', params, loading)
}

/**
 * 用户触发IM聊天的记录保存
 */
export function v05_comment_imAdd(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/comment/im-add', params, loading)
}

/**
 * 通知im用户有新消息
 */
export function v05_comment_imNotify(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/comment/im-notify', params, loading)
}

/**
 * 当日发起的消息次数
 */
export function v05_comment_imAddCount(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/comment/im-add-count', params, loading)
}

/**
 * 当日拨打电话次数
 */
export function v05_track_countOfPhone(params, loading = true) {
  console.log(params, loading);
  return http.post('v05/track/count-of-phone', params, loading)
}

/**
 * jsapi下单
 */
export function wechatPay_jsapiOrder(params, loading = true) {
  console.log(params, loading);
  return http.get('wechat-pay/jsapi-order', params, loading)
}

/**
 * jsapi订单查询
 */
export function wechatPay_jsapiOrderQuery(params, loading = true) {
  console.log(params, loading);
  return http.post('wechat-pay/jsapi-order-query', params, loading)
}

/**
 * jsapi会员退款申请
 */
export function wechatPay_jsapiMemberRefund(params, loading = true) {
  console.log(params, loading);
  return http.post('wechat-pay/jsapi-member-refund', params, loading)
}

/**
 * 会员购买记录
 */
export function wechatPay_memberPayRecord(params, loading = true) {
  console.log(params, loading);
  return http.post('wechat-pay/member-pay-record', params, loading)
}

/**
 * 埋点查询V2
 */
export function v05_track_listv2(params, loading = true) {
  console.log(params, loading);
  return http.get('v05/track/listV2', params, loading)
}


export let BackendApi = {
  article_my_list,
  v05_const_region_areaListByName,
  v05_login_loginRegisterMobile,
  v05_point_redeem_list,
  index_userFocus_check,
  address_add,
  v05_user_add,
  wx_appRegister,
  post_product_add,
  service_edit,
  tencentIm_genUserSig,
  post_product_my_del,
  wx_getuserinfo,
  metric_post_like,
  v05_usernotify_mpNotify,
  tencentCos_getSecret,
  v05_const_region_cityList,
  v05_login_mp_loginWechatAuto,
  article_my_collect,
  post_allList,
  post_audit,
  article_list,
  v05_user_query,
  article_loadDisk,
  tencentCos_uploadImage,
  service_my_del,
  service_add,
  v05_const_region_areaStreetListByName,
  address_addByAddress,
  article_add,
  comment_service_add,
  service_audit,
  addressPub_del,
  comment_list,
  index_userFocus_list,
  v05_post_list,
  index_menus,
  sms_sendCode,
  address_addByLat2lng,
  v05_comment_edit,
  metric_service_collect,
  post_product_list,
  index_userCollect_list,
  v05_user_edit,
  comment_service_list,
  v05_comment_add,
  v05_user_service_query,
  v05_metricrecord_add,
  article_my_del,
  metric_service_update,
  tencentCos_getDirectSecret,
  address_latest,
  v05_userGrowTask_list,
  service_my_list,
  v05_const_region_allCity,
  v05_post_add,
  post_my_collect,
  v05_tencentCos_getDirectSecret,
  const_region_areaListByName,
  const_region_allList,
  service_audit_allList,
  v05_comment_list,
  v05_const_region_allList,
  v05_login_app_loginWechat,
  const_region_provinceList,
  v05_sms_sendCode,
  tencentIm_getunreadmsgnum,
  const_region_areaStreetListByName,
  index_getappuserinfo,
  post_list,
  v05_usernotify_add,
  metric_system_map,
  wx_login,
  wx_v2_appLoginWechatConfirm,
  v05_postTransCase_list,
  v05_sensitive_has,
  tencentIm_multiAccountImport,
  service_list_latest,
  addressPub_getDefault,
  metric_post_collect,
  v05_userBizHelp_list,
  v05_point_redeem_add,
  v05_label_json,
  metric_service_like,
  addressPub_edit,
  post_add,
  v05_userBizHelp_add,
  search_keywords,
  v05_const_region_streetList,
  addressPub_setDefault,
  service_auditJudge,
  service_audit_list,
  wx_appLoginRegisterMobile,
  v05_login_mp_loginWechat,
  service_list_searchByParam,
  comment_add,
  const_region_allCity,
  file_del,
  v05_point_record_list,
  v05_const_region_areaStreetList,
  index_userFocus_add,
  wx_saveUserInfo,
  const_region_cityList,
  addressPub_add,
  const_region_areaList,
  v05_footprints_add,
  v05_tencentCos_getSecret,
  wx_appLoginMobile,
  service_update_stars,
  post_product_detail,
  v05_const_region_provinceList,
  const_region_streetList,
  const_dictionary_list,
  notice_list,
  post_my_del,
  const_region_areaStreetList,
  v05_const_region_searchArea,
  address_list,
  metric_service_stars,
  v05_userRights_list,
  v05_login_mp_loginWechatConfirm,
  v05_comment_del,
  v05_footprints_list,
  v05_notice_list,
  service_list_popularity,
  article_detail,
  service_list,
  v05_post_my_del,
  wx_deviceLogin,
  wx_refreshunionid,
  const_region_parsePinyin,
  v05_userRights_postFire,
  metric_post_update,
  index_updateuserinfo,
  index_app_logout,
  v05_const_code_list,
  const_region_searchArea,
  v05_const_region_areaList,
  v05_tencentCos_uploadImage,
  post_my_like,
  const_menu_list,
  v05_login_app_loginWechatConfirm,
  comment_post_del,
  v05_post_edit,
  article_edit,
  custMsg_receive,
  wx_v2_appLoginWechat,
  post_product_my_list,
  v05_const_region_parsePinyin,
  wx_getimuserinfo,
  wx_appLogin,
  file_upload_binary,
  const_region_allCityV2,
  v05_userBizHelp_edit,
  wx_saveDeviceInfo,
  comment_post_list,
  v05_post_detail,
  addressPub_list,
  const_product_category,
  service_detail,
  v05_label_dictJs,
  post_detail,
  v05_usernotify_list,
  const_code_list,
  v05_userRights_postExposure,
  file_upload_img,
  wx_v2_login,
  post_my_list,
  article_audit,
  v05_user_service_add,
  post_edit,
  const_region_searchAreaV2,
  service_list_nearby,
  service_my_collect,
  v05_comment_unread_list,
  v05_comment_unread_remove,
  v05_comment_listMessage,
  v05_post_audit,
  v05_footprints_listofexposure,
  v05_usernotify_remove,
  v05_post_list_his,
  v05_user_fakeGetrandomuser,
  v05_tencentCos_delImage,
  v05_post_setTransCase,
  v05_postTransCase_detail,
  v05_user_list,
  v05_user_commentList,
  v05_track_add,
  v05_post_importImAccount,
  v05_comment_imAdd,
  v05_comment_imNotify,
  v05_comment_imAddCount,
  v05_track_countOfPhone,
  wechatPay_jsapiOrder,
  wechatPay_jsapiOrderQuery,
  wechatPay_jsapiMemberRefund,
  wechatPay_memberPayRecord,
  v05_track_listv2
}